package com.teach.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName tb_order_return
 */
@TableName(value ="tb_order_return")
@Data
@Accessors(chain = true)

@ApiModel(value = "退款表",description = "退款")
public class TbOrderReturn implements Serializable {
    /**
     * 退款id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "主键id")
    private Integer orderId;

    /**
     * 
     */
    @ApiModelProperty(value = "主键id")
    private Date returnTime;

    /**
     * 退款订单名称
     */
    @ApiModelProperty(value = "主键id")
    private String returnName;

    /**
     * 退款订单号
     */
    @ApiModelProperty(value = "主键id")
    private String returnNum;

    /**
     * 退款流水号
     */
    @ApiModelProperty(value = "主键id")
    private String returnSerial;

    /**
     * 退款金额
     */
    @ApiModelProperty(value = "主键id")
    private Double returnPrice;

    /**
     * 退款理由
     */
    @ApiModelProperty(value = "主键id")
    private String returnReason;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}